﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace RCSnake
	{
	class Area
		{
		/*---------------------------------------------*\
		|*                 Attributs                   *|
		\*---------------------------------------------*/
		private Border m_border;
		private SmallFood m_smallFood;
		private BigFood m_bigFood;

		/*---------------------------------------------*\
		|*                Constructeur                 *|
		\*---------------------------------------------*/
		public Area(Border border, SmallFood smallFood = null, BigFood bigFood = null)
			{
			m_border = border;
			m_smallFood = smallFood;
			m_bigFood = bigFood;
			}

		/*---------------------------------------------*\
		|*               Methodes public               *|
		\*---------------------------------------------*/
		/*---------------------*\
		|*      get / set      *|
		\*---------------------*/
		public Border border
			{
			get { return m_border; }
			set { m_border = value; }
			}

		public SmallFood smallFood
			{
			get { return m_smallFood; }
			set { m_smallFood = value; }
			}

		public BigFood bigFood
			{
			get { return m_bigFood; }
			set { m_bigFood = value; }
			}

		internal Border Border
			{
			get
				{
				throw new System.NotImplementedException();
				}
			set
				{
				}
			}
		}
	}
